/*
 * @Author: misuzu 1411498103@qq.com
 * @Date: 2025-04-20 21:01:16
 * @LastEditors: misuzu 1411498103@qq.com
 * @LastEditTime: 2025-04-22 18:09:19
 * @FilePath: \计算机设计大赛\ai_traffic_web\src\main\java\com\autumn\aitraffic\domain\po\Vehicle.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package com.autumn.aitraffic.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wzx
 * @since 2025-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("vehiclele")
@ApiModel(value="Vehicle对象", description="")
public class Vehicle implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "车牌号")
    @TableField("plate_num")
    private String carPlate;

    @ApiModelProperty(value = "车辆类型")
    @TableField("car_type")
    private Integer kind;

    @ApiModelProperty(value = "车辆照片URL")
    @TableField("car_image")
    private String picUrl;

    @ApiModelProperty(value = "进入时间")
    @TableField("vio_time")
    private LocalDateTime entryTime;

    @ApiModelProperty(value = "路口")
    @TableField("intersection")
    private Integer intersection;
    
    @ApiModelProperty(value = "是否违规")
    @TableField("is_violation")
    private Integer isViolation;
    
    @ApiModelProperty(value = "违规类型：1-闯红灯，2-未礼让行人，3-超速，4-未按规定路径行驶")
    @TableField("violation_type")
    private Integer violationType;

}
